doc =report 


all: $(doc:%=%.pdf)

%.pdf: %.tex
	xelatex $(@:%.pdf=%.tex)
	xelatex $(@:%.pdf=%.tex)

clean:
	rm -f *.aux *.log *.nav *.out *.snm *.toc *.vrb
realclean:clean
	rm -f $(doc).pdf
	
